package com.joysuch.wwyt.risk.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.joysuch.wwyt.risk.entity.RiskDistrict;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @Author ZhaoQiuWei
 * @Date 2021/4/1 13:19
 */
@Data
public class RiskEvaluationExcelBean implements Serializable {

    private String pointCode;
    private String pointName;

    private String pointTypeCode;

    private RiskDistrict riskDistrict;

    // RiskPointEvaluationBusinessBean
    @ApiModelProperty("0风险点固有风险评价,1风险点控制风险评价")
    private Integer pointAnalyzeType;

    @ApiModelProperty("分析方法id")
    private Long analyzeWayId;

    @ApiModelProperty("风险等级")
    private Integer riskLevel;

    @ApiModelProperty("评估人员id")
    private Long evaluationUserId;

    @ApiModelProperty("受控号")
    private String controlNumber;

    @ApiModelProperty("评估日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date evaluationDate;

    //item
    @ApiModelProperty("序号")
    private Integer orderNumber;

    @ApiModelProperty("评估等级")
    private Integer itemRiskLevel;

    //item detail 选项集合会重复 需要将安全措施单独出去
    @ApiModelProperty("风险点评估选项集合")
    private List<RiskPointEvaluationDetailAddBean> detailList;

    @ApiModelProperty("安全措施")
    private RiskPointEvaluationDetailAddBean detailBean;
}
